package fr.toto.constantes;

import java.awt.Image;
import java.nio.file.Path;
import java.nio.file.Paths;
import java.util.Locale;
import java.util.Properties;
import java.util.ResourceBundle;

import fr.toto.triseries.Main;

public interface Constantes {

	public static final String VERSION = "2.0";

	static final long[] trysearchsub = { 1 , 2 , 3 , 4 , 5 , 7 , 9 , 11 , 13 , 15 , 20, 25 , 30 , 35 , 40 , 45 , 50, 75, 100};
	
	public static boolean DEBUG = true;

	public static Locale currentLocale = new Locale("fr", "FR");

	public static String SubscribeURI = "http://www.betaseries.com/inscription";
	
	public static String BetaSeriesURI = "http://www.betaseries.com/";
	
	public static String APIKEY = "9528d3c8b6ad";
	
	public static String PGMNAME = "TriSeries";
	
	public static Path LOOKXMLPATH = Paths.get(".triseries_save/look.xml");
	
	public static Path MENUTXTPATH = Paths.get(".triseries_save/menu.txt");

	public static Path SETTINGSPATH = Paths.get(".triseries_save/Settings.txt");

	public static Path LISTSHOWPATH = Paths.get(".triseries_save/series.txt");
	
	public static String CharsetName = "UTF-8";
	
	public static Image iconWait = java.awt.Toolkit.getDefaultToolkit()
			.getImage(Main.class.getResource("/fr/toto/icones/play.png"));

	public static Image iconBusy = java.awt.Toolkit.getDefaultToolkit()
			.getImage(Main.class.getResource("/fr/toto/icones/busy.gif"));
	
	public static ResourceBundle MESSAGES = ResourceBundle.getBundle(
			"fr.toto.constantes.MessagesBundle", currentLocale);
	
	public static ResourceBundle DEBUGMSG = ResourceBundle.getBundle(
			"fr.toto.constantes.DebugMessageBundle");
	
	public static Properties configMenu = Main.MenuProperties();

}
